lib/remote: Add arguments to internal OstreeRemote constructor
authorPhilip Withnall <withnall@endlessm.com>
Thu, 18 May 2017 07:17:29 +0000 (08:17 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 19 May 2017 15:01:59 +0000 (15:01 +0000)
commited7905d000f6d20374e3cde4d85281fb5bfdcdf9
tree36168ae0c4392fe391fb133bdc4e8e3654dac745
parent2910b880812362fcc57cf30c4b30f0c450389352
lib/remote: Add arguments to internal OstreeRemote constructor

Add a name argument to the internal OstreeRemote constructor,
since this member (and several derived from it) is non-nullable,
and hence must always be set at construction time.

This changes the only call sites of the constructor to use the new API,
which is internal.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #875
Approved by: cgwalters
src/libostree/ostree-remote-private.h
src/libostree/ostree-remote.c
src/libostree/ostree-repo.c